<%@ page language="java"  import="java.sql.*" pageEncoding="UTF-8" %>
<%@ include file="db.jsp"%>
<html>
  <body>
    <%
      Connection conn=getConnection();
      Statement statement = conn.createStatement();
      String sql="insert into t_student(stuno,stuname,stusex) values ('0099','一路向北','男');";
      int i = statement.executeUpdate(sql);
      System.out.println("增加"+i+"行");
      statement.close();
      conn.close();
    %>

  </body>
</html>

